package by.averianov.discounta.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.averianov.discounta.datamodel.UserProfile;

public interface UserProfileDao extends AbstractDao<Long, UserProfile>{

	List<UserProfile> getAllUser(SingularAttribute<UserProfile, ?> attr, boolean ascending, int startRecord, int pageSize);
	
	//Long getCount();
	
}
